package com.example.config;

import com.example.entity.Goods;
import org.springframework.stereotype.Component;

@Component
public class OrderHystrixConfig implements MyGoodsFeignClient{
    @Override
    public Goods find(Integer id) {
        return new Goods(1,"客户端服务降级处理",1000);
    }
}
